package gen.model;

public class ModelAttribute {

	public String xmi_id;

	public String name;

	public String type;

	public boolean many;

	public boolean optional;

	public String toString() {
		return name;
	}

	public boolean equals(Object o) {
		if (!(o instanceof ModelAttribute)) {
			return false;
		}
		return xmi_id.equals(((ModelAttribute) o).xmi_id);
	}

	public int hashCode() {
		return xmi_id.hashCode();
	}
}
